<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/12/6 0006
  Time: 16:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    pageContext.setAttribute("data","msg in page");
    request.setAttribute("data","msg in request");
    session.setAttribute("data","msg in session");
    application.setAttribute("data","msg in application");
%>

<%
    out.print(pageContext.getAttribute("data"));
    request.getRequestDispatcher("b.jsp").forward(request,response);
%>
</body>
</html>
